#overlay {
    background: #000;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 99999 !important;
    opacity: 0.8;
    overflow: hidden;
    display: block;
}

#overlay #overlay-content {
    color: #fff;
    height: 100%;
    background: #000;
    text-align: center;
    line-height: 200px;
    font-size: 1.5em;
}

#overlay.hidden {
    visibility: hidden;
}

#overlay #overlay-content img {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
